package lib.bone.nepudata.domain.dto.topic;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "课题延期传输对象")
public class TopicDelayDTO {



    @ApiModelProperty(value = "课题结束日期",notes = "合同开始日期，如2021/11/16")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    Date endDate;


    @NotEmpty(message = "请上传延期相关文件")
    @ApiModelProperty(value = "关联文件ID列表")
    List<String> fileIds;
}
